package com.frame.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class SysUserLeaves {

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 请假id
     */
    private Integer leavesId;

    /**
     * 原因
     */
    private String reason;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTimes;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date times;

    private Integer id;

    private String name;

    private String days;

    private String content;

    private String leaveTypeName;

    private String type;

    private String status;

}
